HTML - tags - cite tag

revision:


Content

"cite" tag : defines the title of a creative work syntax some examples


"cite" tag : defines the title of a creative work

top

The <cite> tag defines the title of a creative work (e.g. a book, a poem, a song, a movie, a painting, a sculpture, etc.). The text in the <cite> element usually renders in italic.

The <cite> HTML element is used to describe a reference to a cited creative work, and must include the title of that work. The reference may be in an abbreviated form according to context-appropriate conventions related to citation metadata.

Attributes: the <cite > element supports the global attributes and events attributes.


syntax

top

<cite> . . . </cite>


some examples

top

It was a bright cold day in April, and the clocks were striking thirteen.

First sentence in Nineteen Eighty-Four by George Orwell (Part 1, Chapter 1).

Codes:

                    <figure style="margin-left:4vw;">
                        <blockquote>
                            <p class="spec">It was a bright cold day in April, and the clocks were striking thirteen.</p>
                        </blockquote>
                        <figcaption>First sentence in <cite><a href="http://www.george-orwell.org/1984/0.
                        html">Nineteen Eighty-Four</a></cite> by George Orwell (Part 1, Chapter 1).</figcaption>
                    </figure>
                
Any inaccuracies in this index may be explained by the fact that it has been sorted with the help of a computer.
— from The Art of Computer Programming by Donald Knuth

Codes:

                    <blockquote> Any inaccuracies in this index may be explained by the fact that it has been 
                    sorted with the help of a computer.<br> — from <cite>The Art of Computer 
                    Programming</cite> by Donald Knuth </blockquote>